/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.inheritance.inheritanceviolation.superclass;

/**
 *
 * @author given
 */
public class StudentInformation {
    private String name;
    private String surname;
    private String studNum;

    public StudentInformation(String name, String surname, String studNum) {
        this.name = name;
        this.surname = surname;
        this.studNum = studNum;
    }
   
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }
    
    public void setSurname(String surname) {
        this.surname = surname;
    }
    
    public String getStudNum() {
        return studNum;
    }

    public void setStudNum(String studNum) {
        this.studNum = studNum;
    }   
}
